package com.qf.demo;

import com.qf.dao.AccountDao;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @ClassName AccountDaoTest
 * @Description TODO
 * @Author 86181
 * @Date 2022/8/30 12:51
 * @Version 1.0
 **/
public class AccountDaoTest {
    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("bean.xml");
        AccountDao accountDao = (AccountDao) context.getBean("accountDaoImpl");
        System.out.println(accountDao);
    }
}
